﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ErrorPages_Oops : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnHome_Click ( object sender, EventArgs e )
    {
        if ( UserLogin != null )
        {
            Response.Redirect("~/default.aspx");
        }
        else if ( AdminLogin != null )
        {
            Response.Redirect("~/admin/default.aspx");
        }
    }
}